﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace ReadWaterlevelData
{

    public class WaterlevelSettings : ConfigurationSection
    {
        [ConfigurationProperty("baseDate")]
        public DateTime BaseDate
        {
            get { return (DateTime)this["baseDate"]; }
            set { this["baseDate"] = value; }
        }

        [ConfigurationProperty("interval")]
        public int Interval
        {
            get { return (int)this["interval"]; }
            set { this["interval"] = value; }
        }

        [ConfigurationProperty("autoRead")]
        public bool AutoRead
        {
            get { return (bool)this["autoRead"]; }
            set { this["autoRead"] = value; }
        }

    }
}
